#controls h2 {
	float: left;
	padding: 15px 15px 0 15px;
}

.app-polls #app-content {
	transition: background-color 0.3s ease;
	overflow-x: hidden;
}

.thumbnail {
    background-size: 32px;
    &.progress {
        background-image: url('../../../apps/polls/css/../img/progress-vote.svg'); 
    }    
}

.icon-polls {
	background-color: black;
	mask: url('../../../apps/polls/css/../img/app-logo-polls.svg') no-repeat 50% 50%;
}

.nametext {
	line-height: 2em;
}

.polltable {
	position: relative;
	width: 100%;
	min-width: 688px;
    
    &.has-controls {
        top: 44px;
    }

    tbody tr {
        transition: background-color 0.3s ease;
        background-color: #fff;
        height: 40px;
        &:hover, &:focus, &:active, &.highlighted, &.highlighted .name:focus, 
        &.selected, 
        &.searchresult, 
        &.mouseOver td, 
        .name:focus {
            transition: background-color 0.3s ease;
            background-color: #f8f8f8;
        }
    }
    
    #polllist tr td.pollitem.name {
        padding-left: 15px;
    }

    #headerName-container {
        padding-left: 70px;
    }

    th, th a {
        color: #999;
    }

    th, td {
        border-bottom: 1px solid #eee;
        text-align: left;
        font-weight: normal;
        height: 50px;
        line-height: 50px;
        padding: 0 4px;
    }

    th .sort-indicator {
        width: 10px;
        height: 8px;
        margin-left: 5px;
        display: inline-block;
        vertical-align: text-bottom;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
        filter: alpha(opacity=30);
        opacity: 0.3;
    }
}


.pollitem.name{
    
    .nametext {
        position: relative;
        left: 55px;
        padding: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 70%;
        max-width: 800px;
        height: 100%;
    }
    
    .thumbnail {
        display: inline-block;
        width: 32px;
        height: 32px;
        margin-left: 8px;
        margin-top: 9px;
        cursor: pointer;
        float: left;
        position: absolute;
        z-index: 4;
    }
    .description {
        line-height: initial;
        margin-bottom: 5px;
        color: #888;
    }
}


.actions {
	padding: 5px;
	height: 32px;
	display: inline-block;
	float: left;

    &.creatable {
        position: relative;
        z-index: -30;
    }
    input, button, .button {
        margin: 0;
        float: left;
    }
}



.app-files .actions .button.new {
	position: relative;
}


@media (max-width: 992px) {
	.columnheader, .pollitem {
        &.principal, &.created {
            display: none;
        }
	}	
	
    #polllist tr td.pollitem.name {
		padding-left: 4px;
	}
}

@media (max-width: 910px) {
	.columnheader, .pollitem {
        &.access  {
            display: none;
        }
    }

        #body-user .polltable {
		min-width: 0px; 
	}
}

@media (max-width: 768px) {
	.columnheader, .pollitem {
        &.participations, &.expiry {
            display: none;
        }
	}

	#polllist tr td.pollitem.name {
		padding-left: 0px;
	}
}

@media (max-width: 600px) {
	.columnheader, .pollitem {
        &.principal, &.access, &.created {
            display: none;
        }
    }
}

@media (max-width: 480px) {
	.columnheader, .pollitem {
        &.principal, &.access, &.created {
            display: none;
        }
    }
}

